<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <meta http-equiv="X-UA-Compatible" content="ie=edge">
  <title>Document</title>
  <style>
    .tag{
      color: white;
      border-radius: 5px;
      padding: 3px 5px;
    }
  </style>
</head>
<body>
   {{include './header.html'}}
   <div class="container">
    {{each tags tag i}}
       <a href="/tag_contet?tag={{tag}}"><span class="tag">{{tag}}</span></a>
    {{/each}}
   </div>
   <script>
     $('.tag').each((i,item)=>{
       $(item).css('background-color', `HSL(${Math.floor(Math.random()*361)},60%,80%)`)
      })
     </script>
</body>
</html>